@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}
img ,svg{
  height: inherit;
  display:inline;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}



.app-main{
  padding:20px;
  background-color: #F5F6FA;
  overflow-y: scroll !important;
}
.app-container{
  padding:23px 20px;
  background-color: #ffffff;
  border-radius: 10px;
}
.container-title{
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}
.divForm{
  /*padding-bottom: 8px;
  border-bottom: 1px solid #E4ECF1;
  margin-bottom: 20px;*/
}
.divForm .el-form-item{
  width: 100%;
  border-radius: 4px;
  border: 1px solid #E4ECF1;
  padding:0 10px;
  // height: 38.1px;
}
.divForm .el-form-item .el-form-item__label{
  color: #949494;
  padding-right: 5px;
  font-size: 16px;
}
.divForm .el-form-item .el-input__inner{
  border: none;
  font-size: 16px;
}
.divForm .el-form-item .el-input__inner::-webkit-input-placeholder{
  color: #949494;
}
.divForm .el-form-item .el-input__inner::-moz-placeholder{
  color: #949494;
}
.divForm .el-form-item .el-input__inner::-ms-input-placeholder{
  color: #949494;
}
.divForm .el-form-item .el-range__icon.el-icon-date{
  display: none;
}
.divForm .el-form-item .el-range-input::-webkit-input-placeholder{
  color: #949494;
}
.divForm .el-form-item .el-range-input::-moz-placeholder{
  color: #949494;
}
.divForm .el-form-item .el-range-input::-ms-input-placeholder{
  color: #949494;
}
.divForm .el-range-editor--medium .el-range-separator{
  line-height: 32px;
}
.divForm .el-form-item__label{
  position: relative;
}
.divForm .el-form-item__label:before{
  position: absolute;
  right: -5px;
  top: 0;
  color: #FD2F3B;
}
.divForm .el-form-item__error{
  padding-left: 15px;
}

.divForm .vue-treeselect__control{
  border: none;
}

.flex{
  display: flex;
}
.flex-1{
  flex:1;
}
.ai-center{
  align-items: center;
}
.jc-between{
  justify-content: space-between;
}
.jc-center{
  justify-content: center;
}
.jc-end{
  justify-content: end;
}
.fw-wrap{
  flex-wrap: wrap;
}
.fd-c{
  flex-direction: column;
}

.line-one{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.p-rel{
  position: relative;
}
.p-abs{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  overflow-y: auto;
}
.head_title{
  font-family: Source Han Sans SC, Source Han Sans SC;
  font-weight: bold;
  font-size: 18px;
  color: #333333;
  line-height: 18px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  padding: 20px 0 0 20px;
}
.detail_container{
  min-height: 89vh;
  background-color: #fff;
}
.px-20{
  padding: 0 20px;
}

.py-20{
  padding: 20 0px;
}

.p-20{
  padding: 20px;
}
.py-5{
  padding: 5px 0;
}
.item_title_bold{
  font-family: Source Han Sans SC, Source Han Sans SC;
  font-weight: bold;
  font-size: 16px;
  color: #333333;
}

.cursor-pointer{
  cursor: pointer;
}

.font-bold{
  font-weight: bold;
}

.form_focus{
    border: 1px solid #55aaff !important;
  }
.diy_out_box{
  // display: inline-flex;
  // width: auto;
  // margin-top: 5px;
  border: 1px solid transparent;
  width: 96% !important;
}
.diyForm{
  border-bottom: none;
  margin-bottom: 0;
  // display: inline-flex;
  // width: auto;
  padding-bottom: 0;
}
.diy_detail_form .el-form-item{
    border: none;
}
.diy_detail_form .el-form-item .el-input__inner{
  border: 1px solid #E4ECF1 !important;
}
.diy_detail_form .el-form-item .el-textarea__inner{
  border: 1px solid #DCDFE6 !important;
}
.divForm .el-form-item__content .el-textarea__inner{
  border:none;
}

.mb-15{
  margin-bottom: 15px;
}

.mb-30{
  margin-bottom: 30px;
}

.text-14{
  font-size: 14px;
}

.text-696969{
  color: #696969;
}
// 富文本样式补充
.ql-size-small{
  font-size: 10px;
}
.ql-size-large{
  font-size: 18px;
}
.ql-size-huge{
  font-size: 32px;
}
.ql-align-center{
  text-align: center;
}
.ql-align-right{
  text-align: right;
}
.ql-align-justify{
  text-align: justify;
}
